package org.example.book.bridge;

import org.example.book.pojo.UserInfo;

import javax.servlet.http.HttpServletRequest;

/**
 * @author jeff
 */
public interface RegisterLoginFuncInterface {

    public String login(String username, String password);

    public String register(UserInfo userInfo);

    public boolean checkExists(String username);

    /**
     * 第三方账号登录
     * @param request
     * @return
     */
    public String login3rd(HttpServletRequest request);

}
